package com.hxzy.service;

import com.hxzy.controller.front.contamer.req.FrontContamerReq;
import com.hxzy.controller.mobile.login.req.MobileLoginReq;
import com.hxzy.controller.mobile.login.resp.MobileLoginResp;
import com.hxzy.entity.Contamer;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 11452
* @description 针对表【contamer(前端用户)】的数据库操作Service
* @createDate 2023-08-28 11:54:55
*/
public interface ContamerService extends IService<Contamer> {

    /**
     * 账号个数
     * @param account
     * @return
     */
    long accountCount(String account);

    boolean register(FrontContamerReq req);

    /**
     * 登录
     * @param req
     * @return
     */
    MobileLoginResp login(MobileLoginReq req);
}
